<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateExpressBladeTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('express_blade', function(Blueprint $table)
        {
            //express fee blade
            $table->increments('id');
            $table->string('name')      ->comment('blade name');
//            $table->string('type')      ->comment('counting price type:weight,number');
            $table->integer('status')   ->defatlt(0)->comment('blade status');
            $table->integer('is_use')   ->defatlt(0)->comment('blade is use:1 using;0 not use ');
            $table->integer('is_default')->defatlt(0)->comment('blade is default:1 yes;0 no ');
            $table->integer('sort')     ->default(1);
            $table->softDeletes();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
